﻿using System.ComponentModel;

namespace Domain.Models
{
    [DisplayName("公司部门")]
    public class CompanyDepartment
    {
        [DisplayName("公司ID")]
        public int CompanyId { get; set; }

        [DisplayName("部门ID")]
        public int DepartmentId { get; set; }

        [DisplayName("公司")]
        public virtual Company Company { get; set; } = new Company();

        [DisplayName("部门")]
        public virtual Department Department { get; set; } = new Department();
    }
}
